﻿<div class="row" ng-controller="base1Controller">
    <div class="col-md-8">
        <h3>REPORTE DE COMPRAS</h3>
        <div class="input-group col-md-6">
            <input type="text" ng-model="busqueda" class="form-control" placeholder="Buscar" />
            <span class="input-group-btn">
                <button class="btn btn-info" type="button">
                    <i class="glyphicon glyphicon-search"></i>
                </button>
            </span>
        </div>
        <div class="container">
            <table class="table table-striped table-bordered table-btabla2ed table-hover table-responsive">
                <thead>
                    <tr>
                        <td>NÚMERO CORRELATIVO</td>
                        <th>Fecha Emision</th>
                        <th>Fecha Vencimiento</th>
                        <th>Tabla 10</th>
                        <th>Serie</th>
                        <th>Año</th>
                        <th>N Comprobante</th>
                        <th>Tabla 2 </th>
                        <th>Numero </th>
                        <th>Razon Social </th>
                        <th>BaseImponible</th>
                        <th>IGV</th>
                        <th>Adquisiciones No Gravadas</th>
                        <th>ISC</th>
                        <th>Otros Tributos</th>
                        <th>Importe Total</th>
                        <th>Pago No Domiciliado</th>
                        <th>CDD Numero</th>
                        <th>Tipo de Cambio</th>
                        <th>Periodo</th>
                        
                    </tr>
                </thead>
                <tbody>
                    <tr data-ng-repeat="d in list | filter: busqueda">
                        <td>{{d.Id}}</td>
                        <td>{{d.FechaEmision}}</td>
                        <td>{{d.FechaVencimiento}}</td>
                        <td>{{d.Tabla10Id}}</td>
                        <td>{{d.Serie}}</td>
                        <td>{{d.AnoEmisionDua}}</td>
                        <td>{{d.N_Comprobante}}</td>
                        <td>{{d.ProveedorModel.Tabla2Id}}</td>
                        <td>{{d.ProveedorModel.Numero}}</td>
                        <td>{{d.ProveedorModel.RazonSocial}}</td>
                        <td>{{d.BaseImponibleId}}</td>
                        <td>{{d.Debe2}}</td>
                        <td>{{d.AdquisicionesNoGravadas}}</td>
                        <td>{{d.ISC}}</td>
                        <td>{{d.OtrosTributos}}</td>
                        <td>{{d.ImporteTotal}}</td>
                        <td>{{d.PagoNoDomiciliado}}</td>
                        <td>{{d.CDD_Numero}}</td>
                        <td>{{d.TipodeCambio}}</td>
                        <td>{{d.EncabezadoModel.Periodo}}</td>

                    </tr>
                </tbody>
            </table>
        </div>
        <a href="#/base"><span class="glyphicon glyphicon-plus"></span>Agregar...</a>
    </div>
    
</div>
